package com.home_school_platform.service.impl;

import com.home_school_platform.dao.MessageDao;
import com.home_school_platform.entity.pojo.Message;
import com.home_school_platform.service.MessageService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

/**
 * @description 消息列表业务逻辑层
 * @Author Lin
 * @Date 2021/3/14 21:02
 */
public class MessageServiceImpl implements MessageService {

    @Autowired
    MessageDao messageDao;

    @Override
    public Map listMessageService(String teamId, Integer currentPage, Integer pageSize) {

        List<Message> messages = messageDao.listMessageByTeam(teamId, currentPage, pageSize);

        return null;
    }
}






















